package com.example.demo.day.config.learn.design.responsibity.x1;

public class Director extends Leader {

    public Director(Leader leader) {
        super(leader);
    }

    @Override
    public int getLimit() {
        return 1000;
    }

    @Override
    public boolean handleRequest(int money) {
        System.out.println("主管批复报销" + money + "元");
        return true;
    }
}
